#include "stdafx.h"
#include "UStringUtils.h"
//#include <cstdarg>

using namespace std;
/*
namespace TStringUtils {
	std::string strformat(const std::string & fmt, ...)
	{
		va_list ap;
		va_start(ap,fmt);
		const uint bufsize = 1024;
		char buf1[bufsize];
		int len;
		len = vsnprintf(buf1, bufsize, fmt.c_str(), ap);
		if (len == -1) return "";
		if (len < bufsize)
			return string(buf1);
		std::vector<char> buf2(len);
		len = vsnprintf(&buf2[0], len, fmt.c_str(), ap);
		if (len == -1) return "";
		if (len < bufsize)
			return string(&buf2[0]);
		return "";
	}
}
*/
